The Compare feature allows you to visually compare the contents of two saved Mathcad worksheets. The two worksheets display side-by-side in the Mathcad Worksheet Compare window. Differences between the two worksheets are outlined with colored rectangles, indicating the type of difference:
- A gold outline indicates a region whose content differs between the two worksheets.
- A red outline indicates content present in only the first (left) worksheet.
- A blue outline indicates content present in only the second (right) worksheet.
To view the differences between two worksheets:
- Click Tools > Compare.
- Browse to each worksheet you want to compare using the buttons to the right. You can also type the path and filename in the textboxes. The Compare tool only works on saved worksheets. If you see a warning saying that you haven't saved all your changes, then close the Compare window, and first save your file.
- Click Compare to view the differences between the two files.
- Drag your mouse over a changed region to see the content within it at 100%.
- Click Next and Previous at the top of the screen or use your mouse to step to other regions.
- Use the scroll bars to quickly scan the differences between the worksheets. The maroon marker shows you the current position and matching position in each file as you scroll down, so you can easily compare any changes, region by region.
 |
Zooming the Worksheet |
The Compare Worksheets window displays at 75% magnification. You can zoom the display up to 100% by using the zoom slider, or zoom down if you wish. To view a region at regular size, regardless of the zoom setting, drag your mouse over the region.
 |
Comparing Multiple Worksheets |
The Compare tool can only compare two worksheets at a time. However, Mathcad allows you to run simultaneous instances of the Compare tool, so you can start it again in a separate window to compare more than two files or even multiple versions of the same file.
Notes:
- Mathcad can compare only XMCD and XMCDZ worksheets. MCD format worksheets cannot be compared.
- Comparisons of mathematical results are performed using saved results, which are maintained to the full 17 digits of precision, rather than the displayed result. Comparing saved results may indicate differences that are not readily apparent due to the rounding of results for display in Mathcad.
- Mathcad indicates differences at the region level only. If a difference occurs within a region - for example, a "2" was changed to a "3" in an equation - the entire region is highlighted as different, rather than the individual portion of the region.